package com.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "my-module-service", path = "/user")
//@FeignClient(name = "my-module-service", path = "/user", url = "http://localhost:8006")
public interface TestFeignClient {

//    @GetMapping("/user/test1")
    @GetMapping("/test1")
    public String testMethod1123123123();

//    @GetMapping("/user/test2")
    @GetMapping("/hello1")
    public String demo1();
}
